package com.ds.esd.formula.menu;

import com.ds.enums.attribute.Attributetype;
import com.ds.esd.tool.ui.enums.ItemType;

public enum FormulaEventPlugins implements ItemType {
    USEREVENT(Attributetype.USEREVENT),
    EVENT(Attributetype.EVENT),
    DEVICEEVENT(Attributetype.DEVICEEVENT);

    private String id;
    private String caption;
    private String imageClass;
    private String className = "admin.formula.CustomFormula";


    FormulaEventPlugins(Attributetype attributetype) {
        this.id = attributetype.name();
        this.caption = attributetype.getName();
        this.imageClass = attributetype.getImageClass();
        this.className = className;
    }

    public String getClassName() {
        return className;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getImageClass() {
        return imageClass;
    }

    @Override
    public String getCaption() {
        return caption;
    }

}
